<!DOCTYPE html>
<html lang="en">
    <head>
        {include file="common/meta" /}
        <style type="text/css">
            body {
                color:#999;
                /* background:url('{$background}') 50% 50% no-repeat #f2f9ff; */
                /*!*background-size:cover;*!*/
                /*background-position: 50% 50%;*/
                /*background-color: rgb(242, 249, 255);*/
                /*background-position-x: 50%;*/
                /*background-position-y: 50%;*/
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background-size: auto auto;
                /*background-size: 990px 560px;*/
            }

        </style>
        <link href="__CDN__/assets/css/login.css?v={$Think.config.site.version}" rel="stylesheet">
    </head>
    <body>
        <div class="container" id="login">
            <div class="well login-screen">
                <div class="login-form">
                    <img id="profile-img" class="profile-img-card" src="__CDN__/assets/img/avatars.png" />
                    <p id="profile-name" class="profile-name-card"></p>

                    <form action="" method="post" id="login-form">
                        <div id="errtips" class="hide"></div>
                        {:token()}
                        <div class="input-group">
                            <div class="input-group-addon"><span class="glyphicon glyphicon-user" aria-hidden="true"></span></div>
                            <input type="text" class="form-control" id="pd-form-username" placeholder="{:__('Username/Mobile')}" name="username" autocomplete="off" value="" data-rule="{:__('Username')}:required;username" />
                        </div>

                        <div class="input-group">
                            <div class="input-group-addon"><span class="glyphicon glyphicon-lock" aria-hidden="true"></span></div>
                            <input type="password" class="form-control" id="pd-form-password" placeholder="{:__('Password')}" name="password" autocomplete="off" value="" data-rule="{:__('Password')}:required;password" />
                        </div>
                        {if $config.fastadmin.login_captcha}
                        <div class="input-group">
                            <div class="input-group-addon"><span class="glyphicon glyphicon-option-horizontal" aria-hidden="true"></span></div>
                            <input type="text" name="captcha" class="form-control" placeholder="{:__('Captcha')}" data-rule="{:__('Captcha')}:required;length(4)" />
                            <span class="input-group-addon" style="padding:0;border:none;cursor:pointer;">
                                <img src="{:rtrim('__PUBLIC__', '/')}/captcha" width="100" height="30" onclick="this.src = '{:rtrim('__PUBLIC__', '/')}/captcha?r=' + Math.random();"/>
                            </span>
                        </div>
                        {/if}
                        <div class="form-group">
                            <label class="inline" for="keeplogin">
                                <input type="checkbox" name="keeplogin" id="keeplogin" value="1" />
                                {:__('Keep login')}
                            </label>
                            <div class="pull-right"><a href="__PUBLIC__./index.php/admin/auth/admin/register" class="btn-forgot">{:__('Register user')}</a></div>
                            <div class="pull-right"><a href="__PUBLIC__./index.php/admin/auth/admin/restpwd" class="btn-register">{:__('Forgot password')}</a></div>
                        </div>
                        <div class="form-group">
                            <button type="submit" class="btn btn-success btn-lg btn-block login-btn" >{:__('Sign in')}</button>
                        </div>
                    </form>
                </div>
            </div>
            <span  class="circle-logo"></span>
            <p class="login-info">东西快运的愿景是帮助每一个电商卖家，更专注的销售，更简单的操作，获得更高的利润！</p>
        </div>
        {include file="common/script" /}
    </body>
</html>